package com.els.factory;

import com.els.ElsPool;
import com.els.pool.ConfigElasticPool;

public class PoolFactory {
	static ElsPool elsPool=null;
	public static ElsPool createConfigElasticPool(){
		if(elsPool==null){
			elsPool=new ConfigElasticPool("/config.properties");
			elsPool.initPool();
		}
		return elsPool;
	}
}
